home *** CD-ROM | disk | FTP | other *** search
- // Copyright (c) 1993, University of Kansas, All Rights Reserved
- //
- // Class: THeapView
- // Include File: THeapView.H
- // Purpose: Display amount of remaining heap memory
- // Remarks/Portability/Dependencies/Restrictions:
- // Revision History:
- // 12-13-93 created
- // 02-10-94 Split all members into seperate files.
- #include"theapview.h"
-
- void THeapView::update() {
- // Purpose: Update the view if memory usage has changed.
- // Arguments: void
- // Return Value: void
- // Remarks/Portability/Dependencies/Restrictions:
- // Revision History:
- // 12-13-93 created
-
- if((PresMem = GetHeapSize()) != PastMem) {
- PastMem = PresMem;
- drawView();
- }
- }
-